{extend name="layout" /}

{block name="css" }
<link href="/home/css/demo.css" rel="stylesheet" type="text/css"/>
<link href="/home/css/hmstyle.css" rel="stylesheet" type="text/css"/>
{/block}
{block name="content" }

{include file="common/banner" /}

<div class="shopNav">
    <div class="slideall">
        {include file="common/category" /}
        <!--走马灯 -->
        {include file="common/home/login" /}
        <div class="clear"></div>
    </div>
    <script type="text/javascript">
        if ($(window).width() < 640) {
            function autoScroll(obj) {
                $(obj).find("ul").animate({
                    marginTop: "-39px"
                }, 500, function () {
                    $(this).css({
                        marginTop: "0px"
                    }).find("li:first").appendTo(this);
                })
            }

            $(function () {
                setInterval('autoScroll(".demo")', 3000);
            })
        }
    </script>
</div>
<div class="shopMainbg">
    <div class="shopMain" id="shopmain">
        <!--今日推荐 -->
        {include file="common/home/tuijian" /}
        <div class="clear "></div>
        <!--热门活动 -->
        {include file="common/home/active" /}
        <div class="clear "></div>
    </div>
    <!--引导 -->
    {include file="common/navCir" /}
</div>
{include file="common/home/floor" /}
{/block}

